package com.study6.mybatis.more.service.impl;

import com.study6.mybatis.more.mapper.erp.BaseSupplierMapper;
import com.study6.mybatis.more.model.erp.BaseSupplier;
import com.study6.mybatis.more.service.BaseSupplierService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author xuly
 * @title: BaseSupplierServiceImpl
 * @projectName spring-boot
 * @description: TODO
 * @date 2019-07-2411:56
 **/
@Service
public class BaseSupplierServiceImpl implements BaseSupplierService {
    @Resource
    private BaseSupplierMapper baseSupplierMapper;
    @Override
    public List<BaseSupplier> getSupplierByQuery(BaseSupplier baseSupplier) {
        return baseSupplierMapper.getSupplierByQuery(baseSupplier);
    }

    @Override
    public BaseSupplier getBaseSupplierById(Integer id) {
        return baseSupplierMapper.getBaseSupplierById(id);
    }
}
